package decorator;

/**
 * @ClassName BoldDecorator
 * @Description TODO
 * @Author leejiliang
 * @DateTime 2021/8/5 11:32
 * @Version 1.0
 */
public class BoldDecorator extends Decorator {
	public BoldDecorator(TextNode textNode) {
		super(textNode);
	}

	@Override
	public String getText() {
		return "<br>" + target.getText() + "</br>";
	}
}
